package com.yangzcp.userpojo;import com.yangzcp.pojo.SuperData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import java.util.Date;@ApiModel("新闻评论") @Entity @Table(name="news_say") public class News_say extends SuperData{@Column(length=10000) private String  content; public void setContent(String content){this.content=content;} public String getContent(){return content;}@ManyToOne(targetEntity = News.class) private News  ref_news_say; public void setRef_news_say(News ref_news_say){this.ref_news_say=ref_news_say;} public News getRef_news_say(){return ref_news_say;}@ApiModelProperty("创建时间")  private Long  create_time= new Date().getTime(); public void setCreate_time(Long create_time){this.create_time=create_time;} public Long getCreate_time(){return create_time;}@ManyToOne(targetEntity = Users.class) private Users  ref_users; public void setRef_users(Users ref_users){this.ref_users=ref_users;} public Users getRef_users(){return ref_users;}}